package com.lagou.common.pojo;

import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author Ethan
 * @date 2021/3/2 15:11
 * @description 订单商品表
 */
@Data
@Table(name = "order_product")
public class OrderProduct {

  /**
   * 主键
   */
  @Id
  private long id;

  /**
   * 订单ID
   */
  private long orderId;

  /**
   * 商品ID
   */
  private long productId;

  /**
   * 数量
   */
  private long count;

}
